<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<fmt:bundle
	basename="br.com.universidade.castelo.branco.resources.ApplicationResources"
	prefix="">
	
	<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	</head>
	
	<body>
		<jsp:include page="/WEB-INF/views/pesquisadesatisfacao/menu.jsp"
			flush="true"></jsp:include>

		<img src="resources/imagens/pixel_transparente.gif" height="5%"
			width="10%">
			
			<div align="center">

		<fieldset id="fieldsetConsulta">

			<legend id="alinhamentoFormConsulta">
				<h3>
					<fmt:message key="pesquisas.modulo.titulo"></fmt:message>
				</h3>
			</legend>

			
				<table class=linhasAlternadas align="center">

					<tr>
						<th><fmt:message key="consulta.modulo.questionario.campo.titulo.questionario"></fmt:message></th>
						<th><fmt:message key="consulta.modulo.pesquisa.campo.tema"></fmt:message></th>
						<th><fmt:message key="consulta.modulo.pesquisa.campo.objetivo"></fmt:message></th>
						<th><fmt:message key="consulta.modulo.pesquisa.campo.comentario"></fmt:message></th>
						<th><fmt:message key="consulta.modulo.pesquisa.campo.data.inicio"></fmt:message></th>
						<th><fmt:message key="consulta.modulo.pesquisa.campo.data.termino"></fmt:message></th>
						<th><fmt:message key="consulta.modulo.pesquisa.campo.questionario"></fmt:message></th>
											</tr>

					<c:forEach items="${pesquisas}" var="pesquisa">
						<tr>
							<td>${pesquisa.auxTitulo}</td>
							<td>${pesquisa.tema}</td>
							<td>${pesquisa.objetivo}</td>
							<td>${pesquisa.comentario}</td>
							<td><fmt:formatDate value="${pesquisa.dataInicio}"/></td>
							<td><fmt:formatDate value="${pesquisa.dataTermino}"/></td>
							<td id="negrito" align="center"><a href="exibePesquisaResponder?id_pesquisa=${pesquisa.id_pesquisa}">Responder</a></td>
						</tr>
					</c:forEach>
				</table>
		</fieldset>
		</div>
	</body>
</fmt:bundle>
</html>